<?php 
      echo $this->Html->css("chosen");
      echo $this->Html->css("dataTables");
      echo $this->Html->css("validationEngine.jquery");
 ?>
<script type="text/javascript" src="<?php echo $this->webroot; ?>js/dataTables.min.js"></script>
<script type="text/javascript" src="<?php echo $this->webroot; ?>js/customInput.jquery.js"></script>
<script type="text/javascript" src="<?php echo $this->webroot; ?>js/chosen.js"></script>
<script type="text/javascript" src="<?php echo $this->webroot; ?>js/zice.custom1.js"></script>
<script type="text/javascript" src="<?php echo $this->webroot; ?>js/ColVis.js"></script>
<script type="text/javascript" src="<?php echo $this->webroot; ?>js/layout_table.js"></script>
<script type="text/javascript" src="<?php echo $this->webroot; ?>js/manager_other.js"></script>
<script type="text/javascript" src="<?php echo $this->webroot; ?>js/jquery.validationEngine.js"></script>
<script type="text/javascript" src="<?php echo $this->webroot; ?>js/jquery.validationEngine-vi.js"></script>
<script type="text/javascript" src="<?php echo $this->webroot; ?>js/jquery.autotab.js"></script>

<div class="titlePage">
<h1>Thao tác khác</h1>
</div>
<div class="column_left">  
      <div class="onecolumn" >
          	 <div class="header"><span><span class="ico gray trash_can"></span>Hóa đơn nhập kho</span></div>
                        <div class="clear"></div>
                        <div class="content" >
                            <form>
                            	<a class="uibutton delete_day">Xóa HĐ Ngày</a>
								<a class="uibutton special delete_week">Xóa HĐ Tuần</a>
								<a class="uibutton confirm delete_tháng">Xóa HĐ Tháng</a>
								<a class="uibutton normal">Xóa HĐ Năm</a>                    
                            </form>
              <div class="clear"></div>
         </div>
    </div>
    <div class="onecolumn" >
          	 <div class="header"><span><span class="ico gray trash_can"></span>Hóa đơn xuất kho</span></div>
                        <div class="clear"></div>
                        <div class="content" >
                            <form>
                            	<a class="uibutton delete_day">Xóa HĐ Ngày</a>
								<a class="uibutton special delete_week">Xóa HĐ Tuần</a>
								<a class="uibutton confirm delete_tháng">Xóa HĐ Tháng</a>
								<a class="uibutton normal">Xóa HĐ Năm</a>                    
                            </form>
              <div class="clear"></div>
         </div>
    </div>
    <div class="onecolumn" >
          	 <div class="header"><span><span class="ico gray trash_can"></span>Hóa đơn bán lẻ</span></div>
                        <div class="clear"></div>
                        <div class="content" >
                            <form>
                            	<a class="uibutton delete_day">Xóa HĐ Ngày</a>
								<a class="uibutton special delete_week">Xóa HĐ Tuần</a>
								<a class="uibutton confirm delete_tháng">Xóa HĐ Tháng</a>
								<a class="uibutton normal">Xóa HĐ Năm</a>                    
                            </form>
              <div class="clear"></div>
         </div>
    </div>
    <div class="onecolumn" >
          	 <div class="header"><span><span class="ico gray trash_can"></span>Hóa đơn chuyển kho</span></div>
                        <div class="clear"></div>
                        <div class="content" >
                            <form>
                            	<a class="uibutton delete_day">Xóa HĐ Ngày</a>
								<a class="uibutton special delete_week">Xóa HĐ Tuần</a>
								<a class="uibutton confirm delete_tháng">Xóa HĐ Tháng</a>
								<a class="uibutton normal">Xóa HĐ Năm</a>                    
                            </form>
              <div class="clear"></div>
         </div>
    </div>
    <div class="onecolumn" >
          	 <div class="header"><span><span class="ico gray trash_can"></span>Hóa đơn giao hàng</span></div>
                        <div class="clear"></div>
                        <div class="content" >
                            <form>
                            	<a class="uibutton delete_day">Xóa HĐ Ngày</a>
								<a class="uibutton special delete_week">Xóa HĐ Tuần</a>
								<a class="uibutton confirm delete_tháng">Xóa HĐ Tháng</a>
								<a class="uibutton normal">Xóa HĐ Năm</a>                    
                            </form>
              <div class="clear"></div>
         </div>
    </div>
</div>
<div class="column_right">  
      <div class="onecolumn" >
          	 <div class="header"><span><span class="ico gray resize2"></span>Quản lý xe</span></div>
                        <div class="clear"></div>
                        <div class="content" >
                            <form>   
                            	<div class="tableName">
										<table class="display data_table2 listCar" >
											<thead>
												<tr>
													<th><div class="th_wrapp">Mã xe</div></th>
													<th><div class="th_wrapp">Số xe</div></th>
													<th><div class="th_wrapp">Quản lý</div></th>
												</tr>
											</thead>
											<tbody>
													<?php 
								foreach ($cars as $item) {
							?>
									<tr class="odd gradeX editCs" id="<?php echo $item['c']['id'].'_edit'?>">
				      					<td><?php  echo $item['c']['id']; ?></td>
				      					<td class='editNumber'><div class='old_number'><?php  echo $item['c']['number'];?></div>
				      						<input id="<?php echo $item['c']['id'].'_edit_n'?>" value ="<?php echo $item['c']['number'];?>" class='validate[required] tmp_number' style="display: none"/>
				      					</td>
					      					<td >
				                                <span class='btnEdit'>
				                                      <a  title="Edit" >
				                                           <img src="<?php echo $this->webroot; ?>img/icon/color_18/pencil.png" >
				                                      </a>
				                                 </span> 
				                                 <span class="tip btnDelete" id="<?php echo $item['c']['id'].'_delete'?>" >
				                                       <a title="Delete"  >
				                                           <img src="<?php echo $this->webroot; ?>img/icon/color_18/delete.png" >
				                                       </a>
				                                </span> 
				                                <span class='btnSave' style="display: none">
				                                      <a  title="Save" >
				                                           <img src="<?php echo $this->webroot; ?>img/icon/color_18/checkmark2.png" >
				                                      </a>
				                                 </span>
				                                 <span class='btnCancel' style="display: none">
				                                      <a  title="Cancel" >
				                                           <img src="<?php echo $this->webroot; ?>img/icon/color_18/cross.png" >
									                                      </a>
									                                 </span>
									                            </td>
				      										</tr><?php }?>
									</tbody>
									</table>
					            </div>                 
                            </form>
              <div class="clear"></div>
              <form id="validation">
					<a class="uibutton icon add addNewCar">Thêm mới</a>
					<div class="newCar">
						<h4>Thêm xe mới</h4>
						<div class="section">
							<label>
							Số xe:
							
							</label>
							<div>
								<input class="validate[required] large" type="text" id="car_number">
								
							</div>
						</div>
						<div class="buttonNewCar">
							<a class="uibutton add_car"><span class="ico gray checkmark2"></span>Lưu</a>
							<a class="uibutton special cancel"><span class="ico gray cross"></span>Hủy</a>
						</div>
					</div>
				</form>
         </div>
    </div>
</div>